From: Dave Love Date: Fri, 5 Jul 2002 18:51:59 +0000 (+0000) Subject: (read_key_sequence): Set initial_idleness_start_time X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~56400 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e431fcda805ccc6b2442ddf5b7f2fcac29ab7d85;p=emacs.git (read_key_sequence): Set initial_idleness_start_time correctly. --- diff --git a/src/keyboard.c b/src/keyboard.c index 5e038c264ed..19a3423f238 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8375,8 +8375,10 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, keymap may have changed, so replay the sequence. */ if (BUFFERP (key)) { - EMACS_TIME initial_idleness_start_time - = timer_last_idleness_start_time; + EMACS_TIME initial_idleness_start_time; + EMACS_SET_SECS_USECS (initial_idleness_start_time, + EMACS_SECS (timer_last_idleness_start_time), + EMACS_USECS (timer_last_idleness_start_time)); /* Resume idle state, using the same start-time as before. */ timer_start_idle ();